<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ page import="java.io.*,java.util.*" %>
<%@ page import="javax.servlet.*,java.text.*" %>
<html>
<head>
</head>
<body>

<%
    Date d = new Date();
    if(d.getHours()<11){
    out.println("早上好");
}else if(d.getHours()<13){
    out.println("中午好");
    }else if(d.getHours()<18){
    out.println("下午好");
    }else if(d.getHours()<24){
    out.println("晚上好");
    }
%>

</body>
</html>